home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Big Mouth 10
/
Big_Mouth_The_10_1996_-_Side_B.d64
/
hurkle
(
.txt
)
next >
Wrap
Commodore BASIC
|
2023-02-26
|
2KB
|
110 lines
1 rem"originated by stephen lee"
5 poke 53280,5:poke 53281,11
10 print"[147][155]"tab(16)"hurkle."
20 print""tab(13)"copyright 1979"
30 printtab(12)"hanimex pty ltd."
40 a=rnd(-ti)
50 forq=1to2000:next
110 n=5
120 g=10
210 print"[147]"
220 print"a hurkle is hiding on a"g"by"g"grid.
230 [153]"homebase on the grid is point 0,0"
240 [153]"any gridpoint is defined as x,y"
250 [153]:[153]"you get "n"tries to guess the grid point where the hurkle is hiding"
265 [153]:[153]"i will tell you the approx position"
270 [153]"to go look for the hurkle, after each try."
275 [153]:[153]:[153]
280 [153]"press any key when ready to start."
281 [161]y$:[139]y$[178]""[137]281
282 [137]1000
285 r[178][187](1)
286 a[178][181](g[172]r)
287 r[178][187](1)
300 b[178][181](g[172]r)
310 [129] k[178]1 [164] n
320 [153]"guess #";k;"wait";
330 [161]y$:[139]y$[178]""[137]330
332 x[178][197](y$)
335 [153]x;",";
336 [161]y$:[139]y$[178]""[137]336
337 y[178][197](y$)
339 [153]y
340 [139] [182](x[171]a)[170][182](y[171]b)[178]0 [167] 500
350 [137] 1100
360 [141] 610
380 [130] k
410 [143]
420 [153]" sorry, that's";n;"guesses."
430 [153]" the hurkle is at";a;",";b
440 [143]
450 [137] 524
460 [153]
470 [137] 285
500 [143]
510 [153]
520 [153]"you found him in ";k;"guesses!"
524 [153]"do you want another go (y or n)"
525 [161]z$:[139]z$[178]"y"[167] 1000
526 [139] z$[179][177]"n"[167] 525
528 [129]t[178]1 [164] 500:[130]:[147]"the main menu/bm",8,1
530 [129] i[178]1 [164] 10:[153][199](7):[130] i:[153]
540 [137] 440
610 [153][163]25)"go ";
620 [139] y[178]b [167] 670
630 [139] y[179]b [167] 660
640 [153]"south";
650 [137] 670
660 [153]"north";
670 [139] x[178]a [167] 720
680 [139] x[179]a[167] 710
690 [153]"west";
700 [137] 720
710 [153]"east";
720 [153]
730 [142]
1000 [153]"load find the hurkle......"
1010 [153]"9 (NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab(fn"
1011 [153]"8 (NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab(fn"
1012 [153]"7 (NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab(fn"
1013 [153]"6 (NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab(fn north"
1014 [153]"5 (NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab(fn"
1015 [153]"4 (NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab(fn west + east"
1016 [153]"3 (NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab(fn"
1017 [153]"2 (NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab(fn south"
1020 [153]"1 (NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab(fn"
1021 [153]"0 (NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab((NULL)tab(fn"
1022 [153]" tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab("
1023 [153]" 0 1 2 3 4 5 6 7 8 9"
1024 [153]
1030 [137] 285
1100 [153]""
1110 [139] y[178]9 [167] [153]"":[137] 1150
1111 [139] y[178]8 [167] [153]"":[137] 1150
1112 [139] y[178]7 [167] [153]"":[137] 1150
1113 [139] y[178]6 [167] [153]"":[137] 1150
1114 [139] y[178]5 [167] [153]"":[137] 1150
1115 [139] y[178]4 [167] [153]"":[137] 1150
1116 [139] y[178]3 [167] [153]"":[137] 1150
1117 [139] y[178]2 [167] [153]"":[137] 1150
1118 [139] y[178]1 [167] [153]"":[137] 1150
1120 [153]""
1150 [139] x[178]0 [137] 1200
1151 [139] x[178]1 [167] [153]"";:[137] 1200
1152 [139] x[178]2 [167] [153]"";:[137] 1200
1153 [139] x[178]3 [167] [153]"";:[137] 1200
1154 [139] x[178]4 [167] [153]"";:[137] 1200
1155 [139] x[178]5 [167] [153]"";:[137] 1200
1156 [139] x[178]6 [167] [153]"";:[137] 1200
1157 [139] x[178]7 [167] [153]"";:[137] 1200
1158 [139] x[178]8 [167] [153]"";:[137]1200
1159 [153]"";
1200 [153]"spc(spc("
1212 [153]""
1220 [139] k[178]2 [167][153]"on":[137] 360
1221 [139] k[178]3 [167] [153]"":[137] 360
1222 [139] k[178]4 [167] [153]"":[137] 360
1223 [139] k[178]5 [167] [153]"":[137] 360
1250 [137] 360
2000 [128]